package com.lvmama.finance.demo.elasticsearch.domain.jpa;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "node_status")
public class NodeStatusEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "node_ip")
	private String nodeIp;
	
	private String status;
	
	@Column(name = "last_update_time")
	private Date lastUpdateTime;


	public String getNodeIp() {
		return nodeIp;
	}

	public void setNodeIp(String nodeIp) {
		this.nodeIp = nodeIp;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	
}
